﻿

@{
    Layout = null;
    int i = 1;
}
<form id="pagerForm" method="get" action="BaseData/ClassManage/index?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
    <input type="hidden" name="Name" value="" />
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="BaseData/ClassManage/index?action=search&OpID=@ViewData["OperateID"]"
          method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        工作中心：
                    </td>
                    <td>
                        @*@Html.TextBox("test", "" )*@
                        @Html.SelectRolers(new { @class = "treetable select3", @style = "width:146px", @name = "ParentID", id = "ParentID", selectedvalue = "21" })
                    </td>

                    <td>
                        班次：
                    </td>
                    <td>
                        @Html.TextBox("test", "")
                    </td>
                    <td>
                        班次性质：
                    </td>
                    <td>
                        <select id="Class" name="Class">
                            <option value=""></option>
                            <option value="白班">白班</option>
                            <option value="晚班">晚班</option>
                        </select>
                    </td>
                    <td align="right">
                        <div class="subBar">
                            <ul>
                                <li>
                                    <div class="buttonActive">
                                        <div class="buttonContent">
                                            <button type="submit" name="submit">
                                                查询
                                            </button>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div class="pageContent">
    @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
    <table class="table" layouth="112">
        <thead>
            <tr class="header">
                <th style="min-width:40px;font-weight:bolder;">序号</th>
                <th style="min-width:80px;font-weight:bolder;">班次编号</th>
                <th style="min-width:110px;font-weight:bolder;">班次名称</th>
                <th style="min-width:60px;font-weight:bolder;">班次性质</th>
                <th style="min-width:60px;font-weight:bolder;">开始时间</th>
                <th style="min-width:60px;font-weight:bolder;">结束时间</th>
                <th style="min-width:100px;font-weight:bolder;">休息时间合计(时)</th>
                <th style="min-width:110px;font-weight:bolder;">工作时间合计(时)</th>
                <th style="min-width:130px;font-weight:bolder;">正常工作时间合计(时)</th>
                <th style="min-width:130px;font-weight:bolder;">有效工作时间合计(时)</th>
                <th style="min-width:100px;font-weight:bolder;">工作中心</th>
                <th style="min-width:270px;font-weight:bolder;">工作中心描述</th>
                <th style="min-width:100px;font-weight:bolder;">备注</th>
            </tr>
        </thead>
        <tbody>
            <tr class="header" target="ClassManage_id" rel="2" data-tt-id="8">
                <td style="min-width:40px;">1</td>
                <td style="min-width:80px;">BC0001</td>
                <td style="min-width:110px;">直接人员班次-白班</td>
                <td style="min-width:60px;">白班</td>
                <td style="min-width:60px;">08:00</td>
                <td style="min-width:60px;">20:00</td>
                <td style="min-width:100px;">1.83</td>
                <td style="min-width:110px;">10</td>
                <td style="min-width:130px;">8</td>
                <td style="min-width:130px;">6.2</td>
                <td style="min-width:100px;">WC00001</td>
                <td style="min-width:270px;">DE00001-BU1东城智能车间生产6课|WC00001-CNC自动线-A LINE</td>
                <td style="min-width:100px;">备注</td>
            </tr>
            <tr class="header" target="ClassManage_id" rel="2" data-tt-id="8">
                <td style="min-width:40px;">2</td>
                <td style="min-width:80px;">BC0002</td>
                <td style="min-width:110px;">直接人员班次-晚班</td>
                <td style="min-width:60px;">晚班</td>
                <td style="min-width:60px;">20:00</td>
                <td style="min-width:60px;">08:00</td>
                <td style="min-width:100px;">1.83</td>
                <td style="min-width:110px;">10</td>
                <td style="min-width:130px;">8</td>
                <td style="min-width:130px;">6.2</td>
                <td style="min-width:100px;">WC00001</td>
                <td style="min-width:270px;">DE00001-BU1东城智能车间生产6课|WC00001-CNC自动线-A LINE</td>
                <td style="min-width:100px;">备注</td>
            </tr>
        </tbody>
        @*@foreach (var item in Model)
            {
                <tr target="Role_id" rel="@item.Id/@item.Code" data-tt-id="@item.Code" data-tt-parent-id="@item.ParentID">
                    <td>
                        @i
                    </td>
                    <td>@item.Code</td>
                    <td>
                        @item.Name
                    </td>
                    <td>
                        @item.Creator
                    </td>
                    <td>
                        <span formatdate="yyyy-MM-dd HH:mm">
                            @item.CreateDate
                        </span>
                    </td>
                </tr>
                i += 1;
            }*@
    </table>
</div>

@Html.Partial("PageBar")









